//
//  Dc_XinGeTableViewCell.m
//  艾薇贝儿
//
//  Created by dllo on 15/9/17.
//  Copyright (c) 2015年 dllo－－邴鹏超. All rights reserved.
//

#import "Dc_XinGeTableViewCell.h"
#import "AppDelegate.h"

@implementation Dc_XinGeTableViewCell
{
    UILabel * _nameLabel;
    UILabel * _singerName;
}
-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self=[super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        _nameLabel=[[UILabel alloc]initWithFrame:CGRectMake(30*OffWidth, 10*OffHeight, 200*OffWidth, 25*OffHeight)];
        
    
        [self.contentView addSubview:_nameLabel];
        
        _singerName=[[UILabel alloc]initWithFrame:CGRectMake(30*OffWidth, 40*OffHeight, 200*OffWidth, 20*OffHeight)];
     
        [_singerName setFont:[UIFont systemFontOfSize:13]];
        [self.contentView addSubview:_singerName];
        
        
        
        
        
        
    }
    return self;
}
-(void)model:(DcFirstModel *)model{
    _nameLabel.text=model.name;
    _singerName.text=model.singerName;
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
